{extend name="index_layout"/}
{block name="main"}

<h1 style="padding-bottom: 1em;">基础信息</h1>
<style>
    .layui-form-item{
        width:40%;
        float: left;
        clear:none;
    }
    .layui-input-block{
        line-height: 20px;
    }
    span{
        line-height: 36px;
        display: inline-block;
    }
</style>
<form class="layui-form">
    <div class="layui-form-item">
        <label class="layui-form-label">工单编号 </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.gongdan_nums}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">工序编号
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.product_nums}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">工序名称
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.procedure_title}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">产品名称
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.product_title}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">报工数配比
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.ratio}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">产品编号
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.product_nums}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">实际开始/结束时间
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.actual_begin_time}~</span>
            <span style="line-height: 36px;">{$data.actual_end_time}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">计划开始/结束时间
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.plan_begin_time}~</span>
            <span style="line-height: 36px;">{$data.plan_end_time}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">报工权限
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.auth}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">计划数
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">
            {volist name="data.plan" id="item"}
            {$item.key}:{$item.nums}, 
            {/volist}
            </span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">良品数
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.good}</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">不良品数
        </label>
        <div class="layui-input-block">
            <span style="line-height: 36px;">{$data.bad}</span>
        </div>
    </div>
    
    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" type="button" onclick="var index1 = parent.layer.getFrameIndex(window.name);
            parent.layer.close(index1);">返回</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
{/block}